package com.azt.api.pojo;

import java.util.Date;
import java.util.List;

import com.azt.api.enums.CustomerAuditEnum;

public class CompanyVO {
	
		  private Integer id;
		  private String companyName;
		  private Integer auditState;
		  private Date registertime;
		  private String provinceName;
		  private String regcityName;
		  private String regareaName;
		  private String categoryNames;
		  private Integer ispurchaser;
		  private Integer isprovider;
		  private Integer ifSelf;
		  private String customerinfo;
		  private Integer companyId;
		  private List<Company> company;
		  
		  
	    
	    public Integer getIfSelf() {
			return ifSelf;
		}
		public void setIfSelf(Integer ifSelf) {
			this.ifSelf = ifSelf;
		}
		public Integer getIspurchaser() {
			return ispurchaser;
		}
		public void setIspurchaser(Integer ispurchaser) {
			this.ispurchaser = ispurchaser;
		}
		public Integer getIsprovider() {
			return isprovider;
		}
		public void setIsprovider(Integer isprovider) {
			this.isprovider = isprovider;
		}
		private String auditStateName;

		public String getAuditStateName() {
			return CustomerAuditEnum.getName(getAuditState()==null?0:getAuditState());
		}
		public Integer getId() {
			return id;
		}
		public void setId(Integer id) {
			this.id = id;
		}
		public String getCompanyName() {
			return companyName;
		}
		public void setCompanyName(String companyName) {
			this.companyName = companyName;
		}
		public Integer getAuditState() {
			return auditState;
		}
		public void setAuditState(Integer auditState) {
			this.auditState = auditState;
		}
		public Date getRegistertime() {
			return registertime;
		}
		public void setRegistertime(Date registertime) {
			this.registertime = registertime;
		}
		public String getProvinceName() {
			return provinceName;
		}
		public void setProvinceName(String provinceName) {
			this.provinceName = provinceName;
		}
		public String getRegcityName() {
			return regcityName;
		}
		public void setRegcityName(String regcityName) {
			this.regcityName = regcityName;
		}
		public String getRegareaName() {
			return regareaName;
		}
		public void setRegareaName(String regareaName) {
			this.regareaName = regareaName;
		}
		public String getCategoryNames() {
			return categoryNames;
		}
		public void setCategoryNames(String categoryNames) {
			this.categoryNames = categoryNames;
		}
		public List<Company> getCompany() {
			return company;
		}
		public void setCompany(List<Company> company) {
			this.company = company;
		}
		  public String getCustomerinfo() {
			return customerinfo;
		}
		public void setCustomerinfo(String customerinfo) {
			this.customerinfo = customerinfo;
		}
		public Integer getCompanyId() {
			return companyId;
		}
		public void setCompanyId(Integer companyId) {
			this.companyId = companyId;
		}
}
